/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.SRPrinc.Perfect.Config;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.SRPrinc.Perfect.IEmail;
import za.ac.cput.SRPrinc.Perfect.Impl.Email;

/**
 *
 * @author Avis
 */
@Configurable
public class AppConfig
{
  @Bean(name="email")
  public IEmail em()
  {
      return new Email();
  }
}
